package com.qc.dao;

import java.util.List;

import com.qc.entity.SecretaryEntity;

@SuppressWarnings("rawtypes")
public interface SecretaryDao {

	//所有秘书一级类列表总数
    int getListSecretaryCount(String name);
    
    //所有秘书一级类列表
	List getAllSecretary(String name,int pageNo,int pageSize);
	
    //秘书一级类新增
    int saveSecretary(SecretaryEntity secretaryEntity);
    
    //秘书一级类删除
    int deleteSecretaryId(long id);
    
    //秘书一级类修改
    int updateSecretaryId(SecretaryEntity secretaryEntity);
    
    //查询所有秘书一级类
  	List getAllLevleOne();
  	
  	//所有秘书二级类列表总数
    int getListSecretaryCountTwo(String name,String parent);
    
    //所有秘书二级类列表
	List getAllSecretaryTwo(String name,String parent,int pageNo,int pageSize);
}
